
import 'package:flutter_webrtc/flutter_webrtc.dart';


typedef ReceiveMedialStream = Function(String userId, String kind, MediaStream mediaStream);
typedef ExitRoom = Function(String userId);       // 用户退群

class WebRtcUiEvent {

  ReceiveMedialStream receiveMedialStream;
  ExitRoom exitRoom;

  WebRtcUiEvent({ required this.receiveMedialStream, required this.exitRoom});

}